call _CLEAN.cmd
call _TEST.cmd

python App_initdb.py
if %ERRORLEVEL% NEQ 0 goto :error
python setup.py py2exe
if %ERRORLEVEL% NEQ 0 goto :error
iscc install.iss
if %ERRORLEVEL% NEQ 0 goto :error

@echo "BUILD OK"
exit /b 0

:error
@echo "BUILD ERROR"
exit /b 1
